﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SiGeSIB.Data.Security
{
	public class User
	{
		public User(bool isAdmin)
		{
			_IsAdmin = isAdmin;
		}

		#region Attributes
		private bool _IsAdmin = false; 
		#endregion

		#region Properties
		public int Id { get; set; }
		public string Login { get; set; }
		public string Password { get; set; }
		public string Name { get; set; }
		public string Email { get; set; }
		public bool IsAdmin { get { return _IsAdmin; } }
		public EPermissions Permissions { get; set; }
		#endregion
	}
}
